<?php

//特大物理技能

class FogRainSlash extends SingleAttack {

	public function __construct() {
		$this->id = 65;
		$this->name = "霧雨昇天撃";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 60;
		$this->ap = 7;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 30;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."胸背被贯穿而死。<br>";
	}
	
	public function attk_desc($a,$b) {
		if($a->cid == 134) {
			CalHelper::spec_talk($this,1,"吾之刃 動如雷霆 避之術一切皆無<br>奧義!霧雨昇天擊!!");
			CalHelper::cgdisplay('ming_wuyu.jpg');
		} else {
			parent::attk_desc($a,$b);
		}
	}
}

class SpaceKill extends AllAttack {

	public function __construct() {
		$this->id = 66;
		$this->name = "空間殺法";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 8;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 20;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被腰斩，肠胃涂地，挣扎许久才气绝。<br>";
	}

	public function attk_desc($a,$b) {
		if($a->cid == 7) {
			CalHelper::spec_talk($this,1,"活着，就是为了输出！");
		}
		parent::attk_desc($a,$b);
	}

}

class BlowUpWindStrike extends AllAttack {

	public function __construct() {
		$this->id = 67;
		$this->name = "火砕烈風破";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 85;
		$this->ap = 11;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 105;		//随机波动上下限。
		$this->minp = 95;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 2;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 1;               //附加元素属性，火1冰2雷3地4风5光6暗7

	}

	public function attk_desc($a,$b) {
		if($a->cid == 79) {
			CalHelper::spec_talk($this,1,$a->name."对".$b->name."吼道：来吧，在我的家传武技下逝去吧，".$this->name."！");
		} elseif($a->cid == 7) {
			CalHelper::spec_talk($this,2,"烈炎之火，无物不焚；肆虐之风，无孔不入。火碎烈风破！");
		}
		parent::attk_desc($a,$b);
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被炽热的拳力砸成了人干。<br>";
	}

}

class HadesStrike extends AllAttack {

	public function __construct() {
		$this->id = 68;
		$this->name = "冥界破";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 85;
		$this->ap = 11;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 105;		//随机波动上下限。
		$this->minp = 95;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 2;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 7;
	}

	public function attk_desc($a,$b) {
		if($a->cid == 105) {
			CalHelper::cgdisplay('gsilver_hc.jpg');
		}
		parent::attk_desc($a,$b);
	}

}

class DarkSaber extends SingleAttack {

	public function __construct() {
		$this->id = 69;
		$this->name = "ダークセイバー";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 10;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->exprop = 7;               //附加元素属性，火1冰2雷3地4风5光6暗7

	}

	public function attk_desc($a,$b) {
		if($a->groupid == 0) {
			CalHelper::spec_talk($this,1,"愚蠢的".$b->name."，堕入黑海的深渊吧！");
		} else {
			$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		}
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被乱剑刺死。<br>";
	}

}

class LightSmash extends SingleAttack {

	public function __construct() {
		$this->id = 70;
		$this->name = "ライトスマッシャー";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 75;
		$this->ap = 10;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->exprop = 6;               //附加元素属性，火1冰2雷3地4风5光6暗7

	}

	public function attk_desc($a,$b) {
		if($a->cid == 1 && $b->hp < round($b->mxhp/10)) {
			CalHelper::spec_talk($this,1,$b->name."，汝的死兆星正在天上闪耀呢……GAME OVER！");
			CalHelper::cgdisplay('teaplum_2.jpg');
		} else {
			$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		}
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被乱剑刺死。<br>";
	}

}

class AkaShaATu extends AllAttack {

	public function __construct() {
		$this->id = 71;
		$this->name = "アカシャアーツ";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 85;
		$this->ap = 11;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 10;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->excid = array(51);

	}

	public function exskset() {
		$this->sp = 75;
		$this->ap = 10;
	}

	public function kill_desc($a,$b) {
		if($b->cid == 1) {
			CalHelper::spec_talk($this,2,$b->name."临终道：要在一次争斗中胜利是很容易的，但是也会积聚下次争斗的压力，那是愚蠢的行为，和他人争斗是无止境的愚蠢行为……");
		} else {
			$_SESSION['show'] .= $b->name."被打得支离破碎，血肉模糊，肉块散落了一地。<br>";
		}
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		if($a->cid == 51) {
			CalHelper::spec_talk($this,1,'哇哈哈哈，看老子干翻你！');
			CalHelper::cgdisplay("wwolf_1.jpg");
		}
		if($a->cid == 135) {
			CalHelper::spec_talk($this,3,'这就是信仰之力！');
			CalHelper::cgdisplay("wwolf_1.jpg");
		}
	}
}

class Agneyastra extends AllAttack {

	public function __construct() {
		$this->id = 72;
		$this->name = "アグネヤストラ";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 90;
		$this->ap = 12;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 4;		//攻击次数上下限
		$this->mint = 2;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->excid = array(108);
	}
	
	public function exskset() {
		$this->sp = 85;
		$this->ap = 11;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被打得支离破碎，血肉模糊，肉块散落了一地。<br>";
	}

}

class GodHand extends SingleAttack {

	public function __construct() {
		$this->id = 73;
		$this->name = "ゴッドハンド";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 85;
		$this->ap = 9;

		$this->pwr = 280;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 15;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->excid = array(55,184);
	}

	public function exskset() {
		$this->sp = 80;
		$this->ap = 8;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."的脸面被砸穿了。<br>";
	}

	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."高举拳头，向".$b->name."的面孔砸了过去。<br>";
	}

}

class GodArrow extends SingleAttack {

	public function __construct() {
		$this->id = 74;
		$this->name = "ゴッドアロー";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 85;
		$this->ap = 10;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 15;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->excid = array(2);
	}

	public function exskset() {
		$this->hits = 30;
	}

	public function kill_desc($a,$b) {
		if($b->cid == 5) {
			$_SESSION['show'] .= "一阵乱箭过后，".$b->name."被钉在血泊中爬不起来，鲜红的血浸透了金丽的秀发，呜咽的声音渐渐弱了下去…<br>";
		} else {
			$_SESSION['show'] .= $b->name."被箭雨钉死在地上。<br>";
		}
	}

	public function attk_desc($a,$b) {
		if($a->cid == 2) {
			CalHelper::spec_talk($this,1,"射杀吧神箭！");
		}
		$_SESSION['show'] .= $a->name."使出".$this->name."，白色的神矢向".$b->name."飞蝗般射去。<br>";
	}

}

class ZionSword extends SingleAttack {

	public function __construct() {
		$this->id = 75;
		$this->name = "天軍の剣";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 80;
		$this->ap = 9;

		$this->pwr = 260;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 6;               //附加元素属性，火1冰2雷3地4风5光6暗7
		$this->abase = 40;
		$this->excid = array(57);
	}

	public function exskset() {
		$this->abase = 50;
	}

	public function post_action($a,$b) {
		StatusHelper::close($a,$b,$this->abase,$this);
	}

	public function attk_desc($a,$b) {
		if($a->cid == 143) {
			if(CalHelper::is_arise($a)) {
				CalHelper::spec_talk($this,2,"我的意志是，钢铁之刃！");
				CalHelper::cgdisplay('snowfly_awex.jpg');
			} else {
				CalHelper::spec_talk($this,1,"日轮照天，毁灭之时已来临！");
				CalHelper::cgdisplay('snowfly_ex.jpg');
			}
		}
		if($a->cid == 141) {
			CalHelper::spec_talk($this,3,"哼，米迦勒，暂借汝剑一用。");
			CalHelper::cgdisplay('guiwood_zionsw.jpg');
		}
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
	}

}

class TerrorSword extends SingleAttack {

	public function __construct() {
		$this->id = 76;
		$this->name = "テラーソード";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 80;
		$this->ap = 9;

		$this->pwr = 260;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->abase = 40;
		$this->exprop = 7;               //附加元素属性，火1冰2雷3地4风5光6暗7
		$this->excid = array(72,122);
	}

	public function exskset() {
		$this->abase = 50;
	}

	public function post_action($a,$b) {
		StatusHelper::terror($a,$b,$this->abase,$this);
	}
}

class BraveSaber extends SingleAttack {

	public function __construct() {
		$this->id = 77;
		$this->name = "ブレイブザッパー";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 80;
		$this->ap = 9;

		$this->pwr = 260;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','spd');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->abase = 40;
		$this->exprop = 5;
		$this->excid = array(121);
	}

	public function exskset() {
		$this->god_abn = 1;
	}

	public function kill_desc($a,$b) {
		if($a->cid == 120) {
			if($b->gender == 1) {
				CalHelper::spec_talk($this,3,"小刀深深的刺进了".$b->name."的喉咙，鲜血将战场染成了一片血红。");
			} else {
				CalHelper::spec_talk($this,4,"小刀深深的扎进了".$b->name."的心窝<br>".$a->name."在".$b->name."的耳畔呢喃道：“就算不能让你记住我的名字，我也要活在你的心里，再见了，可爱的姑娘。”");
			}
			CalHelper::cgdisplay('xp_bsko.jpg');
		} else {
			parent::kill_desc($a,$b);
		}
	}

	public function attk_desc($a,$b) {
		if($a->cid == 120) {
			if($b->gender == 1) {
				CalHelper::spec_talk($this,1,$a->name."挥舞起小刀，对准".$b->name."的脖子刺了过去。");
			} else {
				CalHelper::spec_talk($this,2,$a->name."挥舞起小刀，对准".$b->name."的心脏刺了过去。");
			}
			CalHelper::cgdisplay('xp_bsak.jpg');
		} else {
			parent::attk_desc($a,$b);
		}
	}

	public function post_action($a,$b) {
		StatusHelper::confuse($a,$b,$this->abase,$this);
	}

}

class ZionLance extends SingleAttack {

	public function __construct() {
		$this->id = 78;
		$this->name = "天軍の神槍";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 85;
		$this->ap = 9;

		$this->pwr = 280;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','spd');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->abase = 40;
		$this->exprop = 6;
		$this->excid = array(105);
	}

	public function exskset() {
		$this->thru = 1;
	}
	
	public function kill_desc($a,$b) {
		if($a->cid == 22) {
			CalHelper::spec_talk($this,2,$a->name."站在被戳成筛子的尸体面前，冷酷的说道：“就算死亡也无法救赎你的罪恶，沉入无限的杀戮地狱吧！”");			
		} else {
			parent::kill_desc($a,$b);
		}
	}

	public function attk_desc($a,$b) {
		if($a->cid == 22) {
			CalHelper::spec_talk($this,1,"可悲之人，让你看看我仅有的神迹：天之军，枪之魂，一枪入魂！".$this->name."！");
			CalHelper::cgdisplay('waterp_2.jpg');
		} elseif($a->cid == 105) { 
			CalHelper::spec_talk($this,2,"这种防护的话，那么……");
			CalHelper::cgdisplay('gsilver_lance.jpg');
		}
		parent::attk_desc($a,$b);
	}

}

class MaraStrike extends SingleAttack {

	public function __construct() {
		$this->id = 79;
		$this->name = "マーラ地獄突き";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 120;
		$this->ap = 10;

		$this->pwr = 300;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 25;				//会心补正
		$this->dmgfactor = array('str','spd');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 1;		//是否贯通

		$this->all_atk = 1;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
	}

	public function pre_attack($sk,$a,$b) {
		if($b->gender == 0) {
			$sk->bodds = $b->baselv > $a->baselv ? 40 : 80;
		} else {
			$sk->bodds = 0;
		}
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被蹂躏到失禁，气绝而亡。<br>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."挺起躯体向".$b->name."冲顶过去<br>";
	}

	public function post_action($a,$b) {
		if($this->bodds > 0) {
			$tmp = mt_rand(1,100);
			$_SESSION['result'] .= "强制倒地乱数：$tmp<br>";
			if($this->bodds >= $tmp) {
				StatusHelper::down($b);
			} elseif ($b->baselv <= $a->baselv && !$b->standing) {
				CalHelper::spec_talk($this,1,$b->name."忍住钻心的晕厥感，终于还是成功站稳了脚跟");
			}
		}
	}

}

class RogueKick extends SingleAttack {

	public function __construct() {
		$this->id = 81;
		$this->name = "雷震王母の蹴り";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 120;
		$this->ap = 12;

		$this->pwr = 300;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 310;
		$this->thru = 1;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被横身踢穿。<br>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."使出".$this->name."，向".$b->name."飞身一蹴。<br>";
	}

	public function post_action($a,$b) {
		if(CalHelper::has_weakpoint($b,1) == 1) {
			StatusHelper::down($b,1.3);
		}
	}
}

class VillageSword extends SingleAttack {

	public function __construct() {
		$this->id = 82;
		$this->name = "ヴィラージュの剣";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 140;
		$this->ap = 14;

		$this->pwr = 280;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 105;		//随机波动上下限。
		$this->minp = 95;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 2;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
		$this->abase = 50;
		$this->exprop = 1;
	}
	
	public function arskset() {
		$this->pwr = 300;
		$this->maxt = 3;
		$this->mint = 3;
		$this->abase = 60;
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= "冰，霜雪的核心；<br>雷，风暴的精华；<br>火，凤凰的灵魂。<br>融合吧！愤怒吧！将天空撕成碎片吧<br>".$this->name."！！！<br>";
		if(CalHelper::is_arise($a)) {
			CalHelper::cgdisplay('dk_1.jpg');
		}
	}

	public function post_action($a,$b) {
		StatusHelper::pala($a,$b,$this->abase,$this);
	}

}

class FilthWind extends SingleAttack {

	public function __construct() {
		$this->id = 83;
		$this->name = "汚れ無き風";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 140;
		$this->ap = 14;

		$this->pwr = 270;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 20;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 2;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 5;
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 250;
		$this->maxt = 3;
		$this->mint = 3;
	}
}

class DoomsDay extends SingleAttack {

	public function __construct() {
		$this->id = 84;
		$this->name = "末世破";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 130;
		$this->ap = 13;

		$this->pwr = 260;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 105;		//随机波动上下限。
		$this->minp = 95;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->abase = 60;
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->mint = 2;
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $b->name."给我记住，我是你生命的见证。<br>";
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= "在回忆中安息吧。<br>";
	}

	public function post_action($a,$b) {
		StatusHelper::terror($a,$b,$this->abase,$this);
	}
}

class ExecutionWave extends AllAttack {

	public function __construct() {
		$this->id = 85;
		$this->name = "断末波";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 160;
		$this->ap = 13;

		$this->pwr = 255;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 7;
		$this->isunique = 1;
		$this->abase = 40;
	}
	
	public function arskset() {
		$this->pwr = 265;
		$this->abase = 60;
	}

	public function post_action($a,$b) {
		StatusHelper::old($a,$b,$this->abase,$this);	//TODO
	}

}

class CrackSoul extends AllAttack {

	public function __construct() {
		$this->id = 86;
		$this->name = "魂砕波";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 12;

		$this->pwr = 260;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->abase = 50;
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 290;
		$this->abase = 60;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."的胸腹被反屈着挤碎，内脏喷溢了一地。<br>";
	}

	public function post_action($a,$b) {
		StatusHelper::spd_down_20($b);
		StatusHelper::terror($a,$b,$this->abase,$this);
	}

}

class ZerosHit extends AllAttack {

	public function __construct() {
		$this->id = 87;
		$this->name = "ゼロス·ビート";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 100;
		$this->ap = 11;

		$this->pwr = 300;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 15;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->crt = 20;
		$this->thru = 1;
	}
}

class MoonNightAttack extends AllAttack {

	public function __construct() {
		$this->id = 88;
		$this->name = "月夜のもちつき";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 140;
		$this->ap = 13;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 105;		//随机波动上下限。
		$this->minp = 95;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 1;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 260;
		$this->mint = 2;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被疯狂的爪刃挠成了丝。<br>";
	}

}

class JavelinRain extends AllAttack {

	public function __construct() {
		$this->id = 89;
		$this->name = "ジャベリンレイン";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 15;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 3;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->maxt = 4;
		$this->mint = 4;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被乱枪贯穿身体。<br>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."从身后取出无数长枪向".$b->name."掷去<br>";
	}
}

class Asura extends AllAttack {

	public function __construct() {
		$this->id = 90;
		$this->name = "阿修羅";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 190;
		$this->ap = 16;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 2;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 1;
		$this->abase = 50;
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->mint = 3;
		$this->god_abn = 1;
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."张开血气弥散的大口，狂暴地杀向".$b->name."<br>";
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被骨头和血肉都被硬生生剥离开来，一点一点被吞掉。<br>";
	}

	public function post_action($a,$b) {
		StatusHelper::terror($a,$b,$this->abase,$this);
	}

}

class DragonCrash extends AllAttack {

	public function __construct() {
		$this->id = 91;
		$this->name = "応龍撃破";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 250;
		$this->ap = 26;

		$this->pwr = 310;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 25;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 4;		//攻击次数上下限
		$this->mint = 4;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 3;               //附加元素属性，火1冰2雷3地4风5光6暗7
		$this->isunique = 1;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."的身体被打得像微尘一样迸散了，什么也没剩下。<br>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."使出".$this->name."，应龙的力量如滔天的雷霆向".$b->name."砸下。<br>";
		CalHelper::cgdisplay('andone_1.jpg');
	}

}

class VacuumCut extends SingleAttack {

	public function __construct() {
		$this->id = 92;
		$this->name = "虚空斬破";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 200;
		$this->ap = 20;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 6;		//攻击次数上下限
		$this->mint = 4;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;

	}

}

class NibusNibru extends AllAttack {

	public function __construct() {
		$this->id = 545;
		$this->name = "ナバスネビュラ";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 85;
		$this->ap = 10;

		$this->pwr = 260;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 10;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}
	
	public function post_action($a,$b) {
			$tmp = mt_rand(1,100);
			$_SESSION['result'] .= "附加效果乱数：$tmp<br>";
			if(floor($a->luk/2) >= $tmp) {
				StatusHelper::str_down_20($b);
			}
	}
}

class CrossFortran extends AllAttack {

	public function __construct() {
		$this->id = 546;
		$this->name = "クロスフォーチューン";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 85;
		$this->ap = 10;

		$this->pwr = 260;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 10;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}
	
	public function attk_desc($a,$b) {
		if($a->cid == 56) {
			$_SESSION['show'] .= "这是将降临世界的黎明之光，叹息吧，愤怒吧，逃窜吧。我们的主将会带着微笑接受你们吧。".$this->name."！！";
			CalHelper::cgdisplay('onion_cross.jpg');
		}
		parent::attk_desc($a,$b);
	}
	
	public function post_action($a,$b) {
			$tmp = mt_rand(1,100);
			$_SESSION['result'] .= "附加效果乱数：$tmp<br>";
			if(floor($a->luk/2) >= $tmp) {
				StatusHelper::mgr_down_20($b);
			}
	}
}

class TechSneak extends SingleAttack {

	public function __construct() {
		$this->id = 560;
		$this->name = "奥義一閃";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 15;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 10;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
		$this->exdtype = 8;
		$this->dbase = 50;
	}

}

class HiCrash extends SingleAttack {

	public function __construct() {
		$this->id = 561;
		$this->name = "ハイエンドクラッシュ";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 100;
		$this->ap = 10;

		$this->pwr = 300;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 35;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
		$this->exprop = 7;
	}

}

class AkashaPanci extends SingleAttack {

	public function __construct() {
		$this->id = 562;
		$this->name = "アカシックバリツ";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 140;
		$this->ap = 14;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 2;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}

}

class OgreSneak extends AllAttack {

	public function __construct() {
		$this->id = 616;
		$this->name = "妖光一閃";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 110;
		$this->ap = 11;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 105;		//随机波动上下限。
		$this->minp = 95;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
		$this->abase = 50;
	}
	
	public function post_action($a,$b) {
		StatusHelper::random_abn($a,$b,$this->abase,$this);
	}

}

class DeathCall extends SingleAttack {

	public function __construct() {
		$this->id = 622;
		$this->name = "死神の点呼";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 120;
		$this->ap = 12;

		$this->pwr = 300;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
		$this->exprop = 7;
		$this->exdtype = 7;
		$this->dbase = 50;
	}
	

}

class AppleGarden extends AllAttack {

	public function __construct() {
		$this->id = 565;
		$this->name = "ティル·ナ·ノーグ";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 170;
		$this->ap = 16;

		$this->pwr = 320;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}
	
	public function attk_desc($a,$b) {
		if(CalHelper::is_arise($a)) {
			$_SESSION['show'] .= "<div align=center>壱&nbsp;弐&nbsp;参&nbsp;肆&nbsp;伍&nbsp;&nbsp;&nbsp;&nbsp;陸&nbsp;漆&nbsp;捌&nbsp;玖&nbsp;拾 <br>";
			$_SESSION['show'] .= "布留部 由良由良止 布留部<br>";
			$_SESSION['show'] .= "血の道と血の道と其の血の道  返し畏み給おう<br>";
			$_SESSION['show'] .= "禍災に悩むこの病毒を  この加持に今吹き払う呪いの神風<br>";
			$_SESSION['show'] .= "橘の 小戸の禊を始めにて  今も清むる吾が身なりけり<br>";
			$_SESSION['show'] .= "千早振る神の御末の吾なれば  祈りしことの叶わぬは無し<br>";
			$_SESSION['show'] .= "――太・極――<br>";
			$_SESSION['show'] .= "随神相――神咒神威・無間叫喚  ティル•ナ•ノーグ<p></div>";
			CalHelper::cgdisplay('cancer_3.jpg');
		}
		parent::attk_desc($a,$b);
	}
	
	public function pre_attack($sk,$a,$b) {
		$sk->expwr = CalHelper::hurt_power($sk,$a);
	}

}

?>
